package org.xs.big_event.dao;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.data.repository.query.Param;
import org.springframework.web.bind.annotation.RequestParam;
import org.xs.big_event.annotation.stats;

@Data
@Schema(description = "分页请求对象")
public class pageRequest {

    @Schema(description = "页码", example = "1", defaultValue = "1")
    private Integer pageNum;

    @Schema(description = "每页数量", example = "10", defaultValue = "5")
    private Integer pageSize;

    @Schema(description = "分类id", example = "1")
    private Integer cateGoryId;
    @Schema(description = "状态", example = "已发布")
    private String stats;
}
